:root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --secondary: #7209b7;
            --accent: #f72585;
            --success: #4cc9f0;
            --warning: #f9c74f;
            --danger: #e63946;
            --card-bg: #ffffff;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --radius: 16px;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            color: #212529;
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
        }

        .hash-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .hash-header {
            text-align: center;
            margin-bottom: 40px;
            padding: 20px;
        }

        .hash-title {
            font-size: 2.8rem;
            margin-bottom: 15px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .hash-subtitle {
            font-size: 1.2rem;
            color: #6c757d;
            max-width: 800px;
            margin: 0 auto 25px;
            font-weight: 400;
        }

        .hash-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }

        @media (min-width: 1200px) {
            .hash-content {
                grid-template-columns: 1fr 1fr;
            }
        }

        .hash-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 30px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .hash-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
        }

        .hash-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        }

        .hash-card-header {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .hash-card-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            color: white;
            font-size: 1.5rem;
            box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
        }

        .hash-card-title {
            font-size: 1.6rem;
            font-weight: 600;
            color: #212529;
        }

        .hash-card-description {
            color: #6c757d;
            font-size: 0.95rem;
            margin-top: 5px;
        }

        .hash-input-group {
            margin-bottom: 25px;
        }

        .hash-label {
            display: block;
            margin-bottom: 10px;
            font-weight: 500;
            color: #212529;
            font-size: 1rem;
        }

        .hash-input-with-icon {
            position: relative;
        }

        .hash-textarea, .hash-input, .hash-select {
            width: 100%;
            padding: 16px 20px;
            border: 1.5px solid #e1e5eb;
            border-radius: 10px;
            font-size: 1rem;
            transition: var(--transition);
            background-color: #fff;
            color: #212529;
            resize: vertical;
            min-height: 120px;
            font-family: 'Consolas', 'Monaco', monospace;
        }

        .hash-textarea:focus, .hash-input:focus, .hash-select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }

        .hash-input-icon {
            position: absolute;
            right: 20px;
            top: 20px;
            color: #6c757d;
            font-size: 1.1rem;
        }

        .hash-options-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-top: 25px;
        }

        @media (max-width: 576px) {
            .hash-options-group {
                grid-template-columns: 1fr;
            }
        }

        .hash-checkbox-group {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .hash-checkbox-group input {
            width: auto;
            margin-right: 10px;
        }

        .hash-checkbox-group label {
            margin-bottom: 0;
            font-weight: 400;
        }

        .hash-result-container {
            background: linear-gradient(135deg, #f0f4ff, #e6f0ff);
            border-radius: 12px;
            padding: 25px;
            margin-top: 20px;
            border-left: 5px solid var(--primary);
            position: relative;
        }

        .hash-result-label {
            font-size: 1rem;
            color: #6c757d;
            margin-bottom: 10px;
            font-weight: 500;
        }

        .hash-result-value {
            font-size: 1rem;
            font-weight: 500;
            color: #212529;
            line-height: 1.5;
            word-break: break-all;
            font-family: 'Consolas', 'Monaco', monospace;
            background: rgba(255, 255, 255, 0.7);
            padding: 15px;
            border-radius: 8px;
            min-height: 60px;
            max-height: 200px;
            overflow-y: auto;
        }

        .hash-result-value.hash-code {
            color: var(--primary);
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .hash-stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
            margin-top: 25px;
        }

        .hash-stat-item {
            background: white;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }

        .hash-stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 5px;
        }

        .hash-stat-label {
            font-size: 0.85rem;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .hash-action-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 30px;
        }

        .hash-btn {
            padding: 14px 24px;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 1rem;
            flex: 1;
            min-width: 140px;
        }

        .hash-btn-primary {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
        }

        .hash-btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(67, 97, 238, 0.4);
        }

        .hash-btn-secondary {
            background: #e9ecef;
            color: #212529;
        }

        .hash-btn-secondary:hover {
            background: #dee2e6;
            transform: translateY(-2px);
        }

        .hash-btn-accent {
            background: var(--accent);
            color: white;
            box-shadow: 0 4px 12px rgba(247, 37, 133, 0.3);
        }

        .hash-btn-accent:hover {
            background: #e11574;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(247, 37, 133, 0.4);
        }

        .hash-btn-success {
            background: var(--success);
            color: white;
            box-shadow: 0 4px 12px rgba(76, 201, 240, 0.3);
        }

        .hash-btn-success:hover {
            background: #3ab3d9;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(76, 201, 240, 0.4);
        }

        .hash-btn-warning {
            background: var(--warning);
            color: #212529;
            box-shadow: 0 4px 12px rgba(249, 199, 79, 0.3);
        }

        .hash-btn-warning:hover {
            background: #e6b63e;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(249, 199, 79, 0.4);
        }

        .hash-btn-danger {
            background: var(--danger);
            color: white;
            box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
        }

        .hash-btn-danger:hover {
            background: #c1121f;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(230, 57, 70, 0.4);
        }

        .hash-history-section {
            margin-top: 35px;
        }

        .hash-history-title {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: #212529;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .hash-history-title i {
            color: var(--primary);
        }

        .hash-history-list {
            max-height: 250px;
            overflow-y: auto;
            border-radius: 10px;
            background: #f8f9fa;
            padding: 10px;
        }

        .hash-history-item {
            display: flex;
            justify-content: space-between;
            padding: 15px;
            border-bottom: 1px solid #e9ecef;
            font-size: 0.95rem;
            transition: var(--transition);
        }

        .hash-history-item:hover {
            background: white;
            border-radius: 8px;
        }

        .hash-history-item:last-child {
            border-bottom: none;
        }

        .hash-history-text {
            color: #212529;
            font-weight: 500;
            max-width: 45%;
            word-break: break-all;
        }

        .hash-history-result {
            color: var(--primary);
            font-weight: 600;
            max-width: 45%;
            word-break: break-all;
        }

        .hash-history-time {
            color: #6c757d;
            font-size: 0.85rem;
            margin-top: 5px;
            width: 100%;
        }

        .hash-feature-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 50px;
        }

        .hash-feature {
            display: flex;
            align-items: center;
            background: var(--card-bg);
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
        }

        .hash-feature:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .hash-feature-icon {
            width: 50px;
            height: 50px;
            background: rgba(67, 97, 238, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            color: var(--primary);
            font-size: 1.3rem;
        }

        .hash-feature-text {
            font-weight: 500;
            font-size: 1.05rem;
        }

        .hash-preview-panel {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-top: 15px;
            border-left: 3px solid var(--success);
        }

        .hash-preview-title {
            font-weight: 600;
            margin-bottom: 10px;
            color: #6c757d;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .hash-preview-content {
            font-family: 'Consolas', 'Monaco', monospace;
            background: white;
            padding: 10px;
            border-radius: 5px;
            min-height: 40px;
        }

        .hash-file-upload {
            border: 2px dashed #dee2e6;
            border-radius: 10px;
            padding: 40px 20px;
            text-align: center;
            transition: var(--transition);
            cursor: pointer;
        }

        .hash-file-upload:hover {
            border-color: var(--primary);
            background: #f8f9fa;
        }

        .hash-file-upload i {
            font-size: 3rem;
            color: #6c757d;
            margin-bottom: 15px;
        }

        .hash-file-info {
            margin-top: 15px;
            font-size: 0.9rem;
            color: #6c757d;
        }

        .hash-algorithm-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .hash-algorithm-tab {
            padding: 12px 24px;
            background: #e9ecef;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .hash-algorithm-tab.active {
            background: var(--primary);
            color: white;
        }

        .hash-algorithm-tab:hover {
            transform: translateY(-2px);
        }

        .hash-comparison-result {
            margin-top: 20px;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            font-weight: 600;
        }

        .hash-comparison-match {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .hash-comparison-mismatch {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        @media (max-width: 768px) {
            .hash-title {
                font-size: 2.2rem;
            }
            
            .hash-card {
                padding: 25px 20px;
            }
            
            .hash-content {
                gap: 25px;
            }
            
            .hash-btn {
                min-width: 120px;
                padding: 12px 20px;
            }
        }

        @media (max-width: 576px) {
            .hash-title {
                font-size: 1.9rem;
            }
            
            .hash-card-header {
                flex-direction: column;
                text-align: center;
            }
            
            .hash-card-icon {
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .hash-action-buttons {
                flex-direction: column;
            }
            
            .hash-btn {
                width: 100%;
            }
            
            .hash-history-item {
                flex-direction: column;
            }
            
            .hash-history-text, .hash-history-result {
                max-width: 100%;
                margin-bottom: 10px;
            }
        }

        .hash-tooltip {
            position: relative;
            display: inline-block;
        }

        .hash-tooltip .hash-tooltiptext {
            visibility: hidden;
            width: 200px;
            background-color: #212529;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 8px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -100px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 0.8rem;
        }

        .hash-tooltip:hover .hash-tooltiptext {
            visibility: visible;
            opacity: 1;
        }

        .hash-breadcrumb {
            margin-bottom: 20px;
            font-size: 0.9rem;
            color: #6c757d;
        }

        .hash-breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }

        .hash-breadcrumb a:hover {
            text-decoration: underline;
        }

        .hash-footer {
            text-align: center;
            margin-top: 60px;
            padding: 25px;
            color: #6c757d;
            font-size: 0.95rem;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        .hash-progress {
            width: 100%;
            height: 6px;
            background: #e9ecef;
            border-radius: 3px;
            overflow: hidden;
            margin-top: 10px;
        }

        .hash-progress-bar {
            height: 100%;
            background: var(--primary);
            transition: width 0.3s ease;
        }

        .hash-security-warning {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            color: #856404;
        }

        .hash-security-warning i {
            color: #f9c74f;
            margin-right: 10px;
        }